﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="SimpleCalculator._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to CALCULATOR!
    </h2>
<p>
        Enter first number&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="tb_firstNumber" runat="server"></asp:TextBox>
        &nbsp;<asp:RequiredFieldValidator ID="rfv_enterNumber1" runat="server" 
            ControlToValidate="tb_firstNumber" ErrorMessage="*Enter a number" 
            ForeColor="#CC0000"></asp:RequiredFieldValidator>
    </p>
    <p>
        Enter second number&nbsp;&nbsp;
        <asp:TextBox ID="tb_secondNumber" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfv_enterNumber2" runat="server" 
            ControlToValidate="tb_secondNumber" ErrorMessage="*Enter a number" 
            ForeColor="#CC0000"></asp:RequiredFieldValidator>
    </p>
<p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btn_Result" runat="server" Text="ADD" />
    &nbsp;&nbsp;&nbsp;
        <asp:Label ID="lbl_solution" runat="server"></asp:Label>
    </p>
<p>
        &nbsp;</p>
    </asp:Content>
